package com.buli.blmall.admin.common.domain;

/**
 * @author xiang.gao
 * @date 2025/2/19 15:42
 */
public class WxToken {

    private String token;
    private long expireTime;

    public WxToken(String token, long expireTime) {
        this.token = token;
        this.expireTime = expireTime;
    }

    public String getToken() {
        return token;
    }

    public boolean isExpired() {
        return System.currentTimeMillis() > expireTime;
    }
}
